#ifndef RECEIPT_ADDITEM_H
#define RECEIPT_ADDITEM_H

#include <head/g_pch.h>
#include <head/db_helper.h>
#include <head/m_message.h>
#include "m_fhs.h"

namespace Ui {
class Receipt_AddItem;
}

class Receipt_AddItem : public QDialog
{
    Q_OBJECT

public:
    explicit Receipt_AddItem(QWidget *parent = nullptr);
    ~Receipt_AddItem();

    bool addItem(const QString &vouchNo,
                 const QString &vouchDate,
                 double vouchSum,
                 const QString &vouchSource);

private slots:
    void on_btn_submit_clicked();

    void on_btn_paste_clicked();

private:
    Ui::Receipt_AddItem *ui;

    QString table;
};

#endif // RECEIPT_ADDITEM_H
